﻿using Reece.Open.Mvc.Atom.Contracts;

namespace Reece.Open.Mvc.Atom.Models
{
    public class Link
    {
        [AtomAttribute(AttributeName="rel")]
        public string Relation { get; set; }

        [AtomAttribute(AttributeName="href")]
        public string Uri { get; set; }

        [AtomAttribute(AttributeName="type")]
        public string Type { get; set; }

        [AtomAttribute(AttributeName="hreflang")]
        public string UriLanguage { get; set; }

        [AtomAttribute(AttributeName="title")]
        public string Title { get; set; }
    }
}